chore(deps): update dependency protocolbuffers/protobuf to v33 #118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v32.1->v33.0Release Notes
protocolbuffers/protobuf (protocolbuffers/protobuf)
v33.0: Protocol Buffers v33.0Compare Source
Announcements
Bazel
d5217fd)30d2332)d98e2ef)Compiler
ae308fc)abeb130)C++
813a7ef)RepeatedField(Arena*)constructor private in a future release. (768db14)Map(Arena*)constructor private in a future release. (543a17f)3d94d83)RepeatedPtrField(Arena*)constructor private in a future release (6422b9d)b64e490)RuntimeAssertInBoundsto remove repeated logic and makeGet/Mutableeasier to read. (2f270c4)ae308fc)e25e267)90824aa)6ea1640)a959f27)c7030f4)95b1763)Java
Restored compatibility of runtime with gencode created with protoc <3.21
With this release, compatibility of the runtime with older gencode down to 3.0.0 is restored, compared to the previous support minimum of gencode created with 3.22+. Note that it is still strongly recommended to regenerate your gencode with a newer protoc and to avoid using gencode which was created with an old protoc.
Generated code from this range is covered by CVE-2022-3171 and is potentially vulnerable to a Denial of Service risk.
JavaProto 4.x previously dropped compatibility with the potentially vulnerable generated code, having the behavior of:
Starting with this release:
-Dcom.google.protobuf.error_on_unsafe_pre22_gencode) or to entirely silence the logged messages (-Dcom.google.protobuf.use_unsafe_pre22_gencode)This change was made based on community feedback regarding the difficulty in identifying and quickly remediating stale gencode in their transitive dependencies weighed against a careful evaluation of the realistic risk exposure of DoS (with no risk of other concerns including information leak or RCE).
We strongly recommend that any users who observe the log messages to regenerate the corresponding code with a newer protoc. We recommend that any security-conscious services opt into the
error_on_unsafe_pre22_gencodebehavior to preclude any risk of a Denial of Service surface area being exposed.A future 4.x release may flip the default behavior to error by default as a measure to further help the ecosystem avoid the Denial of Service risks, while still maintaining the ability to opt into continuing to use insecure gencode for users who are parsing trusted inputs and where the difficulty of regenerating is high.
Changes
e55224c)8de4002)c4ff7a6)537ac35)eba6df2)ca4fb2f)4376591)a995803)7b0bee3)varint,fixed32, andfixed64fields inUnknownFieldSet.Field(810272f)badaf41)c518f25)8d51e34)94a2a44(ea33ae8)7bff169(f2257f5)abeb130)e05db5c)isPlaceholder()accessors to file, message, and enum descriptors (f978ec2)745e15b)b68b673)5768acd)7c51e5b)GeneratedMessage.ExtendableMessage.extensions(b25d39e)Rust
_(c3f7e8d)Send(8bff944)Python
56b2b89)d57d270)5f6c013)07ef676)c36f728)__slots__to empty in.pyifiles. (38ca2d3)4659cd7)4ee55d7)PHP
6fee29b)UPB (Python/PHP/Ruby C-Extension)
c36f728)Other
dcace2f)4b4e405)9806994)a6bdd0a)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.